<template>
    <div class="container">
        <mt-button @click="handleClick" type="primary" class="mt_btn">test</mt-button>
    </div>
</template>

<script>
    import {Toast} from 'mint-ui'
    export default {
        name: "App",
        methods:{
            handleClick () {
                Toast('临时组件，全局组件')
            }
        }
    }
</script>

<style lang="stylus" scoped>
.mt_btn
    width:100%
</style>